<div class="row" style="position: relative">
    <if condition="$data['cover'] neq 0">
        <div class="col-xs-4">
            <a title="{$data.title|text}" href="{:U('News/index/detail',array('id'=>$data['id']))}" target="_blank">
                <span class="categorys text-ellipsis">{$data.cate.title}</span>
                <img alt="{$data.title|text}" src="{$data.cover|getThumbImageById=200,146}">
            </a>
        </div>
        <div class="col-xs-8">
            <div>
                <h2 class="title text-more">
                    <a title="{$data.title|text}" class="text-ellipsis-2" href="{:U('News/index/detail',array('id'=>$data['id']))}" target="_blank">{$data.title}</a>
                </h2>
            </div>
            <div>
                <p class="text-ellipsis-2">{$data.description}</p>
            </div>
        </div>
        <else/>
        <div class="col-xs-4">
            <a title="{$data.title|text}" href="{:U('News/index/detail',array('id'=>$data['id']))}" target="_blank">
                <span class="categorys text-ellipsis">{$data.cate.title}</span>
                <img alt="暂无封面" src="__IMG__/nopicture.jpg" style="width: 200px;height: 146px">
            </a>
        </div>
        <div class="col-xs-8">
            <div>
                <h2 class="text-more">
                    <a title="{$data.title|op_t}" class="text-ellipsis-2" href="{:U('News/index/detail',array('id'=>$data['id']))}" target="_blank">{$data.title}</a>
                </h2>
            </div>
            <div>
                <p class="text-ellipsis-2">{$data.description}</p>
            </div>
            <div>

            </div>
        </div>
    </if>

    <span class="pull-right view-icon col-xs-8">
         <span class="author"><img class="avatar" src="{$data.user.avatar512}" alt=""><a href="{$data.user.space_url}" ucard="{$data.uid}" class="text-ellipsis">{$data.user.nickname}</a>&nbsp&nbsp{$data.create_time|date='Y-m-d H:i:s',###}</span>
        <i class="icon-eye-open"> {$data.view}</i>
    </span>
</div>
<hr/>